package other;

public class Child extends Parent {

	public void test(){
		System.out.println("子类test方法");
	}
	
	protected void privateTest(){
		System.out.println("子类privateTest方法");
	}
	
	public static void main(String[] args){
		new Child().publicMethod();
	}
	
	
}
